package com.javacrafting.mifos.domain;

public class LoanAccountMaxMinLoanAmountImpl implements LoanAccountMaxMinLoanAmount
{
	private Integer		id;
	private Double		minLoanAmount;
	private Double		maxLoanAmount;
	private LoanAccount	loanAccount;

	public LoanAccountMaxMinLoanAmountImpl()
	{
		// default constructor for hibernate
	}

	public LoanAccountMaxMinLoanAmountImpl(final Double minLoanAmount, final Double maxLoanAmount, LoanAccount loanAccount)
	{
		this.minLoanAmount = minLoanAmount;
		this.maxLoanAmount = maxLoanAmount;
		this.loanAccount = loanAccount;
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Double getMinLoanAmount()
	{
		return minLoanAmount;
	}

	public void setMinLoanAmount(Double minLoanAmount)
	{
		this.minLoanAmount = minLoanAmount;
	}

	public Double getMaxLoanAmount()
	{
		return maxLoanAmount;
	}

	public void setMaxLoanAmount(Double maxLoanAmount)
	{
		this.maxLoanAmount = maxLoanAmount;
	}

	public LoanAccount getLoanAccount()
	{
		return loanAccount;
	}

	public void setLoanAccount(LoanAccount loanAccount)
	{
		this.loanAccount = loanAccount;
	}
}
